package com.example.zy5_project_jetpack.mvp.model;

import com.example.zy5_project_jetpack.mvp.view.Bean.HomeBean;
import com.example.zy5_project_jetpack.mvp.view.Bean.VideoBean;
import com.example.zy5_project_jetpack.mvp.view.SofaFragment.Bean.ImageBean;
import com.example.zy5_project_jetpack.mvp.view.SofaFragment.Bean.TextBean;

import org.w3c.dom.Text;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

public interface ApiService {
    public static final String BASE_URL = "http://123.56.232.18:8080/serverdemo/";

    @GET("feeds/queryHotFeedsList")
    Call<HomeBean> getHomeInfo();


    //image
    @GET("feeds/queryHotFeedsList")
    Call<ImageBean> getImageInfo(@QueryMap Map<String,Object> map);

    @GET("")
    Call<VideoBean> getVideoInfo();

    @GET("")
    Call<TextBean> getTextInfo();


}
